package com.chinatechstar.file.entity;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * 用户文件关联表(sys_user_file)
 *
 * @author Rei
 * @version 1.0.0 2021-01-03
 */
public class SysUserFile implements java.io.Serializable {
    /**
     * 版本号
     */
    private static final long serialVersionUID = -2786915287419616479L;

    /* This code was generated by TableGo tools, mark 1 begin. */

    /**
     * 用户文件关联表
     */
    private Long id;

    /**
     * 用户id
     */
    private Long ufUserId;

    /**
     * 文件id
     */
    private Long ufFileId;

    /* This code was generated by TableGo tools, mark 1 end. */

    /* This code was generated by TableGo tools, mark 2 begin. */

    /**
     * 获取用户文件关联表
     *
     * @return 用户文件关联表
     */
    public Long getId() {
        return this.id;
    }

    /**
     * 设置用户文件关联表
     *
     * @param id 用户文件关联表
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取用户id
     *
     * @return 用户id
     */
    public Long getUfUserId() {
        return this.ufUserId;
    }

    /**
     * 设置用户id
     *
     * @param ufUserId 用户id
     */
    public void setUfUserId(Long ufUserId) {
        this.ufUserId = ufUserId;
    }

    /**
     * 获取文件id
     *
     * @return 文件id
     */
    public Long getUfFileId() {
        return this.ufFileId;
    }

    /**
     * 设置文件id
     *
     * @param ufFileId 文件id
     */
    public void setUfFileId(Long ufFileId) {
        this.ufFileId = ufFileId;
    }

    /* This code was generated by TableGo tools, mark 2 end. */

    /*This code was generated by TableGo tools, mark 3 begin. */

    @Override
    public boolean equals(Object obj) {
        return EqualsBuilder.reflectionEquals(obj, this);
    }

    @Override
    public int hashCode() {
        return HashCodeBuilder.reflectionHashCode(this);
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }

    /* This code was generated by TableGo tools, mark 3 end. */
}